home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / a_man / cat7 / ik.z / ik
Encoding:
Text File  |  1998-10-20  |  3.6 KB  |  133 lines

  1.  
  2.  
  3.  
  4. IIIIKKKK((((7777))))                                                                    IIIIKKKK((((7777))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ik - Ikon 10088 (ikc) parallel interface controller
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ////ddddeeeevvvv////cccceeeennnntttt
  13.      ////ddddeeeevvvv////vvvvpppp0000
  14.  
  15. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.      This is the driver for the Ikon 10088 (and 10088A) parallel interface
  17.      controller.  The controller can support any one of three possible
  18.      interfaces:  Versatec TTL, Versatec differential, or (Tektronix-
  19.      compatible) Centronics.  The Ikon controller board must be jumpered,
  20.      switched, connected, and terminated differently depending on which
  21.      interface is being used.
  22.  
  23.      If the board is configured for the Centronics interface, bytes written to
  24.      /_d_e_v/_c_e_n_t are output to the parallel port.  A printer reset (input prime)
  25.      is issued when the device file is opened.
  26.  
  27.      If the board is configured for either Versatec interface, bytes written
  28.      to /_d_e_v/_v_p_0 are output to the parallel port.  A printer reset is issued
  29.      when the device file is opened.  In addition, the following Versatec
  30.      control calls are provided via _i_o_c_t_l(2).  The relevant definitions are
  31.      contained in the include file <_s_y_s/_v_c_m_d._h>.
  32.  
  33.      ioctl(fd,VSETSTATE,int_3_ptr);
  34.           changes the Versatec device state according to the contents of the 3
  35.           integers pointed at by _i_n_t__3__p_t_r.  The first integer specifies a
  36.           Versatec command:
  37.           VPRINT commands the Versatec device to enter print mode;
  38.           VPLOT commands it to enter plot mode;
  39.           VPRINTPLOT commands it to enter simultaneous print/plot mode;
  40.           VLF commands it to output a linefeed;
  41.           VFF commands it to output a formfeed;
  42.           VREOT drives the remote EOT signal.
  43.           The second integer specifies a timeout delay (in seconds) for
  44.           subsequent Versatec operations, including output operations.  A
  45.           specified delay of 0 is ignored.  The default delay is 300 seconds.
  46.           This may be insufficient for large and / or slow devices.  The third
  47.           integer is ignored.
  48.  
  49.      ioctl(fd,VGETSTATE,int_3_ptr);
  50.           passes back Versatec device state information in the 3 integers
  51.           pointed at by _i_n_t__3__p_t_r.  The first integer contains:
  52.           VPRINT if the Versatec device is in print mode;
  53.           VPLOT if it is in plot mode;
  54.           VPRINTPLOT if it is in simultaneous print/plot mode.
  55.           The second integer contains the current timeout delay (in seconds)
  56.           (see VSETSTATE above).  The third integer is not used.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. IIIIKKKK((((7777))))                                                                    IIIIKKKK((((7777))))
  71.  
  72.  
  73.  
  74.      It is normally unnecessary to use /_d_e_v/_c_e_n_t or /_d_e_v/_v_p_0 directly; the
  75.      spooling software (see _l_p(1)) provides an adequate interface.
  76.  
  77. FFFFIIIILLLLEEEESSSS
  78.      /dev/cent
  79.      /dev/vp0
  80.  
  81. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  82.      image(4), ipaste(1), lp(1), snap(1)
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.